package com.xbongbong.paas.domain.entity.ext;

import com.alibaba.fastjson.JSONArray;
import com.xbongbong.paas.domain.entity.PaasProcessNodeTaskEntity;

import java.util.List;

/**
 * @author: wufeng
 * @date: 2018/8/27 11:25
 * @desrcption:
 */
public class PaasProcessNodeTaskEntityExt extends PaasProcessNodeTaskEntity {

    private static final long serialVersionUID = -6795729954772405958L;

    /**
     * 任务状态描述字段
     */
    private String taskTypeMemo;

    private List<FieldPermissionEntityExt> summary;


    public String getTaskTypeMemo() {
        return taskTypeMemo;
    }

    public void setTaskTypeMemo(String taskTypeMemo) {
        this.taskTypeMemo = taskTypeMemo;
    }

    public List<FieldPermissionEntityExt> getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = JSONArray.parseArray(summary, FieldPermissionEntityExt.class);
    }
}
